using Microsoft.Extensions.Localization;

using Volo.Abp.DependencyInjection;
using Volo.Abp.Ui.Branding;

using WL.Think.Abp.Localization;

namespace WL.Think.Sample.Blazor;

[Dependency(ReplaceServices = true)]
public class SampleBrandingProvider : DefaultBrandingProvider
{
    private IStringLocalizer<ThinkResource> _localizer;

    public SampleBrandingProvider(IStringLocalizer<ThinkResource> localizer)
    {
        _localizer = localizer;
    }

    public override string AppName => _localizer["AppName"];
}
